package com.wlz.curd.impl;


import com.wlz.curd.entity.Emp;

public class SE extends Emp {
	private int years;

	public int getYears() {
		return years;
	}

	public void setYears(int years) {
		this.years = years;
	}

	@Override
	public String calcMoney() {
		return getEmpMoney()+"+"+years+"*"+200+"="+(getEmpMoney()+years*200);
	}
}
